package com.sumi.erp.mapper;

import java.util.List;
import com.sumi.erp.domain.FinanceSaleReceipt;

/**
 * 收款单Mapper接口
 * 
 * @author fgf67@163.com
 * @date 2024-06-28
 */
public interface FinanceSaleReceiptMapper 
{
    /**
     * 查询收款单
     * 
     * @param id 收款单主键
     * @return 收款单
     */
    public FinanceSaleReceipt selectFinanceSaleReceiptById(Long id);

    /**
     * 查询收款单列表
     * 
     * @param financeSaleReceipt 收款单
     * @return 收款单集合
     */
    public List<FinanceSaleReceipt> selectFinanceSaleReceiptList(FinanceSaleReceipt financeSaleReceipt);

    /**
     * 新增收款单
     * 
     * @param financeSaleReceipt 收款单
     * @return 结果
     */
    public int insertFinanceSaleReceipt(FinanceSaleReceipt financeSaleReceipt);

    /**
     * 修改收款单
     * 
     * @param financeSaleReceipt 收款单
     * @return 结果
     */
    public int updateFinanceSaleReceipt(FinanceSaleReceipt financeSaleReceipt);

    /**
     * 删除收款单
     * 
     * @param id 收款单主键
     * @return 结果
     */
    public int deleteFinanceSaleReceiptById(Long id);

    /**
     * 批量删除收款单
     * 
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteFinanceSaleReceiptByIds(Long[] ids);
}
